import babel from 'rollup-plugin-babel';

export default {
    input: "./src/index.js",
    output: {
        file: 'dist/vue.js',
        format: 'iife', // iife umd
        name: 'Vue',
        sourcemap: true
    },
    plugins: [
        babel({ // es6->es5
            exclude: './node_modules/**', // 排除
        })
    ]
}